﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Repository;
using DAL;
using System.Data;

namespace Business
{
    public class PromotionBusiness : IBusiness<Promotion>
    {
        public void Add(Promotion promotion)
        {
            var repository = new PromotionRepository();
            repository.Add(promotion);
        }

        Promotion IBusiness<Promotion>.Add(Promotion t)
        {
            throw new NotImplementedException();
        }

        public Promotion Update(Promotion t)
        {
            throw new NotImplementedException();
        }

        public void Delete(Promotion t)
        {
            throw new NotImplementedException();
        }

        public Promotion Get(int Id)
        {
            throw new NotImplementedException();
        }
    }
}
